<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class Sms extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('sms',function(Blueprint $table){
           $table->engine="InnoDB";
           $table->increments('id');
           $table->integer("x_uid");
           $table->char('phone',12);
           $table->integer('code');
           $table->tinyInteger('status');
           $table->integer('startime');
           $table->integer("endtime");
           $table->rememberToken();
           $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('sms');
    }
}
